package com.yooohooo.designpattern.factorybuilderbridge;

import com.yooohooo.designpattern.bridge.Phone;

/**
 * @ClassName: PhoneDirector
 * @Description:
 * @author Yooo
 * @date 2017年6月24日 上午1:39:11
 * 
 */
public class PhoneDirector {
	public Phone construct(PhoneBuilder builder) {
		builder.buildCharger();
		builder.buildLocker();
		return builder.getResult();
	}
}
